import {baseURL,noToken} from './config/config.js';
var headers
module.exports = {
	list(url,data,isheader){
		if(isheader){
			headers={
					token:uni.getStorageSync('token')
			}
		}else{
			headers={
					
			}
		}
		uni.request({
		    url:baseURL+url,
		    data:data,
		    header:headers,
		    success:(res) => {
		        
		    }
		});
	}
}